/**
 * Created by Administrator on 2018-12-22.
 */
function demo(){
   var d= document.getElementById('lx');
    console.log(d.innerText);
    d.innerHTML='wc';
}
var arrs=[1,2,3];
for(var i=0;i<arrs.length;i++){
    console.log(arrs[i]);
}
arrs.forEach(function(value,n,arrs){
    console.log(value)
})

for(var a in arrs){
    console.log(a)
}















